package com.edu.cdp.service;

import com.edu.cdp.VO.CategoryVO;
import com.edu.cdp.domain.Category;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author Yang Can
* @description 针对表【category】的数据库操作Service
* @createDate 2024-06-02 19:38:05
*/
public interface CategoryService extends IService<Category> {
    Integer update(Category category);

    Category add(String categoryName);

    List<Category> fuzzQuery(String categoryName);

    void delete(Integer id);

    CategoryVO getDetail(Integer id);
}
